/* 窗口 */
.panel-bg {
  background: rgba(0, 0, 0, 0.5);
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel {
  position: absolute;
  background: #bcbcbc;
  color: #262626;
  border: 2px solid #bcbcbc;
  border-style: outset;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-direction: column;
  filter: drop-shadow(4px 4px 0px rgba(0, 0, 0, 0.6));
  max-width: 80vw;
  min-width: 15em;
  max-height: 80vh;
  overflow: hidden;
}

.panel-contain {
  padding: 1em;
  overflow: auto;
}

/* 按钮 */
button span {
  display: none;
  position: absolute;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid black;
  padding: 0.5em;
  font-size: 0.5em;
  font-size: 16px;
  pointer-events: none;
}

button:hover span {
  display: unset;
}

button {
  border: 6px solid rgb(78, 78, 78);
  border: outset;
}

button:active {
  border: inset;
}


.emoji-btn {
  background: none;
  border: none;
  font-size: 1.5em;
  transition: transform 0.15s ease-out, filter 0.15s ease-out;
}

.emoji-btn:hover {
  transform: scale(1.1);
}

.emoji-btn:active {
  transform: scale(0.9);
  filter: brightness(2);
  border: none;
}


/* 文字 */
p {
  margin: 0.5em 0;
}

a {
  font-weight: 500;
  color: #64afff;
  text-decoration: inherit;
}

a:hover {
  color: #64afff;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

.title {
  background: #393939;
  color: white;
  font-weight: bold;
  padding: 0.5em;
}

.nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background: #393939;
  color: white;
  font-weight: bold;
  padding: 0.5em;
}

/* 排版 */
.row {
  display: flex;
  flex-direction: row;
}

.col {
  display: flex;
  flex-direction: column;
}

/* 其他UI */
/* 输入框 */
input,
textarea {
  background: rgba(0, 0, 0, 0.7);
  color: white;
}

textarea {
  flex-grow: 1;
  resize: vertical;
  height: 15em;
}

/* 选择 */
select {
  padding: 0.2em;
  background: rgba(0, 0, 0, 0.7);
  color: white;
}

/* 进度条 */
.label-progress {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.label-progress progress{
  width:100%;
  height:20px;
}
.label-progress span{
  position: absolute;
}
.label-progress progress:per {

}

/* 全局 */
:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  overflow: hidden;
  position: fixed;
  height: 100vh;
  width: 100vw;
}

body,
html,
div {
  padding: 0;
  margin: 0;
}

body {
  font-size: 0.9em;
  color: #ccc;
  background: #212121;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  min-height: 100vh;
}

#app {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}